# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-marshmallow-enum
_pkgname=marshmallow_enum
pkgver=1.5.1
pkgrel=3
pkgdesc="Enum field for use with Marshmallow."
url="https://github.com/justanr/marshmallow_enum"
arch="all"
license="MIT"
depends="python3 py3-marshmallow"
makedepends="py3-setuptools"
source="marshmallow-enum-$pkgver.tar.gz::https://github.com/justanr/marshmallow_enum/archive/v1.5.1.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="989fe58613dc28f242b1990a727a87c453809ad2de9355595e53e2c569de6434c76c150522c31189282edca74740dc0aabfafa57e2f78397644adae1b6d99f7d  marshmallow-enum-1.5.1.tar.gz"
